﻿@model Uco.Models.TextComponent

@{
    ViewBag.Title = @Html.R("TextComponent");
    Layout = "~/Areas/Admin/Views/Shared/_LayoutNoTree.cshtml";
}

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>@Html.R("TextComponent")</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.SystemName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SystemName)
            @Html.ValidationMessageFor(model => model.SystemName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Text)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Text)
            @Html.ValidationMessageFor(model => model.Text)
        </div>

        <p class="clear">
            <input type="submit" class="t-button" value="@Html.R("Create")" />
        </p>
    </fieldset>
}

<div class="clear">
    @Html.ActionLink(@Html.R("BackToList"), "Index")
</div>
